package com.easytopit.demo.domain;

import java.io.Serializable;
import java.sql.Timestamp;

import com.easytopit.demo.domain.enumDomain.Status;

public class Movie implements Serializable{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 封面
	 */
	private String cover;
	/**
	 * 简介
	 */
	private String profile;
	/**
	 * 状态
	 */
	private Status status;
	/**
	 * 上映时间
	 */
	private Timestamp onTime;
	/**
	 * 国家
	 */
	private String country;
	/**
	 * 导演
	 */
	private String director;
	/**
	 * 片长
	 */
	private String length;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCover() {
		return cover;
	}
	public void setCover(String cover) {
		this.cover = cover;
	}
	public String getProfile() {
		return profile;
	}
	public void setProfile(String profile) {
		this.profile = profile;
	}
	public Status getStatus() {
		return status;
	}
	public void setStatus(Status status) {
		this.status = status;
	}
	public Timestamp getOnTime() {
		return onTime;
	}
	public void setOnTime(Timestamp onTime) {
		this.onTime = onTime;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public String getLength() {
		return length;
	}
	public void setLength(String length) {
		this.length = length;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Movie [name=" + name + ", cover=" + cover + ", profile=" + profile + ", status=" + status + ", onTime="
				+ onTime + ", country=" + country + ", director=" + director + ", length=" + length + "]";
	}
}